import request from './service'


export const fetchEdit =async (data:any)=>{
    const res=  await request.post('/goods/edit',data)
    return res
  }
export const fetchGet =async (params:any)=>{
    const res=  await request.get('/users/list',params)
    return res
  }
export const doctorGet=async (params:any)=>{
    const res=  await request.get('/infomationcenter/departmentline',params)
    return res  
  }
export const newsGet=async (params:any)=>{
    const res=  await request.get('/infomationcenter/news',params)
    return res  
  }
  export const departmentGet=async (params:any)=>{
    const res=  await request.get('/department/list',params)
    return res  
  }